import { createWebHistory, createRouter  } from 'vue-router'

import Login from '../ghs/login.vue'
import Select from '../ghs/select.vue'
import Index from '../index.vue'

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '/',
            name: 'index',
            component: Index
        },
        {
            path: '/login',
            name: 'login',
            component: Login
        },
        {
            path: '/select',
            name: 'select',
            component: Select
        }
    ],
})

export default router